package com.geostar.constructionland.common.dao;

import com.geostar.constructionland.common.entity.logs.mongolog.LogMongoSpt;

import java.util.List;

/**
 * @author yelll
 * @since 2020-6-19 15:49
 **/
public interface LogMongoSptDao {
    /**
     * 批量保存
     * @param logMongoSpts
     */
    void saveBatch(List<LogMongoSpt> logMongoSpts);

    /**
     * 单独保存
     * @param logMongoSpt
     */
    void saveLogMongoSpt(LogMongoSpt logMongoSpt);


    LogMongoSpt getLogMongoSpt(String id);

    List<LogMongoSpt> getLogSpts();
}
